package com.treasure.mall.zbqmallapi.mapstruct;

import com.treasure.mall.biz.entity.life.ShopBusinessScopePO;
import com.treasure.mall.biz.entity.life.ShopBusinessTagsPO;
import com.treasure.mall.biz.entity.life.ShopPO;
import com.treasure.mall.biz.vo.life.ShopBusinessVO;
import com.treasure.mall.zbqmallapi.vo.life.ShopDetailsVO;
import com.treasure.mall.zbqmallapi.vo.life.ShopVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 *
 * <p>
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.zbqmallapi.mapstruct
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/10/15 11:49 上午
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * 
 */
@Mapper
public interface ShopMapStruct {
    ShopMapStruct Instance = Mappers.getMapper(ShopMapStruct.class);

    //    ShopVO po2vo(ShopPO po);
    ShopDetailsVO po2detailsVo(ShopPO po);

    ShopVO detailsVo2shopVo(ShopDetailsVO vo);

    ShopBusinessVO tagsPo2vo(ShopBusinessTagsPO po);

    ShopBusinessVO scopePo2vo(ShopBusinessScopePO po);

    List<ShopDetailsVO> pos2vos(List<ShopPO> pos);

    List<ShopVO> detailsVos2shopVos(List<ShopDetailsVO> pos);

    List<ShopBusinessVO> shopBusinessTagsPos2vos(List<ShopBusinessTagsPO> pos);

    List<ShopBusinessVO> shopBusinessScopePos2vos(List<ShopBusinessScopePO> pos);

}
